package com.tebiecloud.mpweixin.client.constants;

/**
 * 常量值
 * @Author: tebie
 * @Date: 2019-09-10 09:10
 */
public class MpweixinConstants {

    /**
     * 服务名称
     */
    public static final String MPWEIXIN_SERVER = "tebie-cloud-mpweixin-server";

    // 换绑手机发送验证码,后接手机号 set（验证码）
    public final static String REDIS_BIND_SMS_CODE_ = "mpweixin:" + "bind_sms_code_";
    // 换绑手机发送验证码次数，后接手机号，set(发送次数)
    public final static String REDIS_BIND_SMS_CODE_TIMES_ = "mpweixin:" + "bind_sms_code_times_";
    // 核销码 后接权益动态码 set（userId）
    public final static String REDIS_WRITE_OFF_ = "mpweixin:" + "write_off_code_";
    // 公众号jsapi_ticket，后接公众号appid，set(值)，有限制存活时间
    public final static String REDIS_MP_JSAPI_TICKET_ = "mpweixin:" + "mp_jsapi_ticket_";

    /**
     * 钱包key前缀 set 后加userID
     */
    public static final String REDIS_USERWALLET_ = "mpweixin:"+"userwallet_";

    /**
     * 乖乖币流水，set 后加userid
     */
    public static final String REDIS_COIN_FLOW_ = "mpweixin:coin:flow_";

}
